3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next |
QuickDraw 3D provides constants that you can use to specify an ID for a CSG object. You assign a CSG object ID to an object by including an attribute of type kQ3AttributeTypeConstructiveSolidGeometryID in the object's attribute set. Currently, QuickDraw 3D supports up to five CSG objects per model.
#define kQ3SolidGeometryObjA 0
#define kQ3SolidGeometryObjB 1
#define kQ3SolidGeometryObjC 2
#define kQ3SolidGeometryObjD 3
#define kQ3SolidGeometryObjE 4
Previous | QD3D Book | Overview | Chapter Contents | Next |